package com.codebattery.domain.entity;

import java.io.Serializable;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

/**
 * authority
 * @author 
 */
@Data
public class Authority implements GrantedAuthority, Serializable {
    /**
     * 权限id
     */
    private Long id;

    /**
     * 权限
     */
    private String authority;

    private static final long serialVersionUID = 1L;
}